MAINTAINERCLEANFILES = Makefile.in

check_PROGRAMS = test_client test_server

noinst_LTLIBRARIES = libtest_common.la

common_cflags = \
-I. \
-I$(top_srcdir)/eshm/include \
-I$(top_builddir)/eshm/include \
@EIX_CFLAGS@

common_libs = \
$(top_builddir)/eshm/lib/libeshm.la \
$(top_builddir)/eshm/tests/libtest_common.la \
@EIX_LIBS@

libtest_common_la_SOURCES = \
test_common.c

libtest_common_la_CPPFLAGS = \
-I. \
-I$(top_srcdir)/eshm/include \
-I$(top_builddir)/eshm/include \
@EIX_CFLAGS@

libtest_common_la_LIBADD = \
$(top_builddir)/eshm/lib/libeshm.la \
@EIX_LIBSS@

test_client_SOURCES = test_client.c
test_client_CPPFLAGS = $(common_cflags)
test_client_LDADD = $(common_libs)

test_server_SOURCES = test_server.c
test_server_CPPFLAGS = $(common_cflags)
test_server_LDADD = $(common_libs)

